#ifndef __INJECT__
#define __INJECT__

#include <windows.h>
#include "base/array.h"

struct ProcessEntry
{
  DWORD pID;
  DWORD tID;
  HICON hIcon;
  wchar_t name[MAX_PATH];
  BOOL is64;
};
void GetProcessInfo(HWND hWnd, ProcessEntry& pe);
bool CheckProcess(DWORD pID);
void EnumProcesses(Array<ProcessEntry>& processes);
DWORD GetProcessThread(DWORD pID);
HHOOK InstallHook(DWORD tID);
HHOOK InstallMouseHook(DWORD tID);
HHOOK InstallKeyboardHook(DWORD tID);
void RemoveHook(HHOOK hHook);

#endif // __INJECT__
